-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: Add instructions for disabling the Block Directory #24357
Conversation
Size Change: 0 B Total Size: 1.16 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, thanks for documenting. 👍
One comment, we probably could remove the "Experimental" title on the overall document.
It doesn't look like any of the filters would still be considered experimental. @youknowriad ?
Yes, I don't really know why there's an "Experimental" flag there. |
Per #24357 the experimental in the title for editor filters is no longer needed.
Merged this one and added title change in #24382 |
I've been working this more. We should update the documentation to hook into |
@uamv I can understand for developing your own theme, but I think it might surprise a user that using a theme could disable the block directory. |
Yeah, I was primarily considering folks who might be using a child theme. It seems that many tutorials introducing custom code snippets advise users to insert the code into |
Per #24357 the experimental in the title for editor filters is no longer needed.
Description
Now that we have a way to disable the Block Directory, we should document it. See #23961 (comment) This PR adds a section into the Editor Filters section, with example code to remove the Block Directory. Looking at other docs, this seems to be the best place for it, but I'm open to moving it if there's somewhere better.
Closes #23961
How has this been tested?
View the documentation at docs/designers-developers/developers/filters/editor-filters.md
Types of changes
Documentation